import Api from "@/Api/index";
import config from "@/config/index";

export default class UserService{

    async add(data= {}){
        console.log(1)
       return await (new Api()).post({
            url:config.apiList.add,
            data
        })
    }

    async login(data= {}){
        console.log(1)
       return await (new Api()).post({
            url:config.apiList.login,
            data
        })
    }
}
